package com.ruoyi.comn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商管理对象 srm_supplier
 * 
 * @author ruoyi
 * @date 2022-04-19
 */
public class SrmSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** uuid */
    private String supplierUuid;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private String sysDicSupplierType;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String docNum;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String supplierAddr;

    /** 备注 */
    @Excel(name = "备注")
    private String supplierNote;

    /** 序号 */
    @Excel(name = "序号")
    private Long supplierNumber;

    /** 审核人（用户表ID） */
    @Excel(name = "审核人", readConverterExp = "用=户表ID")
    private String fkConfirmUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核状态（字典表） */
    @Excel(name = "审核状态", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;

    public void setSupplierUuid(String supplierUuid) 
    {
        this.supplierUuid = supplierUuid;
    }

    public String getSupplierUuid() 
    {
        return supplierUuid;
    }
    public void setSysDicSupplierType(String sysDicSupplierType) 
    {
        this.sysDicSupplierType = sysDicSupplierType;
    }

    public String getSysDicSupplierType() 
    {
        return sysDicSupplierType;
    }
    public void setDocNum(String docNum) 
    {
        this.docNum = docNum;
    }

    public String getDocNum() 
    {
        return docNum;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierAddr(String supplierAddr) 
    {
        this.supplierAddr = supplierAddr;
    }

    public String getSupplierAddr() 
    {
        return supplierAddr;
    }
    public void setSupplierNote(String supplierNote) 
    {
        this.supplierNote = supplierNote;
    }

    public String getSupplierNote() 
    {
        return supplierNote;
    }
    public void setSupplierNumber(Long supplierNumber) 
    {
        this.supplierNumber = supplierNumber;
    }

    public Long getSupplierNumber() 
    {
        return supplierNumber;
    }
    public void setFkConfirmUserId(String fkConfirmUserId) 
    {
        this.fkConfirmUserId = fkConfirmUserId;
    }

    public String getFkConfirmUserId() 
    {
        return fkConfirmUserId;
    }
    public void setConfirmDt(Date confirmDt) 
    {
        this.confirmDt = confirmDt;
    }

    public Date getConfirmDt() 
    {
        return confirmDt;
    }
    public void setOaDictConfirmStatus(String oaDictConfirmStatus) 
    {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getOaDictConfirmStatus() 
    {
        return oaDictConfirmStatus;
    }
    public void setConfirmNote(String confirmNote) 
    {
        this.confirmNote = confirmNote;
    }

    public String getConfirmNote() 
    {
        return confirmNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierUuid", getSupplierUuid())
            .append("sysDicSupplierType", getSysDicSupplierType())
            .append("docNum", getDocNum())
            .append("supplierName", getSupplierName())
            .append("supplierAddr", getSupplierAddr())
            .append("supplierNote", getSupplierNote())
            .append("supplierNumber", getSupplierNumber())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
